/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.backlog.util;

import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

/**
 *
 * @author Gleibson Oliveira
 */
public class ExportDB {

    public static void main(String[] args){

        System.out.println("Inicio Export BD");
        Configuration cfg = new AnnotationConfiguration().configure();
        SchemaExport schemaExport = new SchemaExport(cfg);
        schemaExport.create(true,true);


    }

}
